package o;

import android.graphics.Bitmap;
import androidx.core.app.NotificationCompat.d;
import java.lang.reflect.Field;

public class daq {
    public static Bitmap ˎ(d dVar) {
        Object obj = null;
        if (dao.ˏ().ˎ() == null) {
            return obj;
        }
        try {
            Field declaredField = d.class.getDeclaredField("mLargeIcon");
            declaredField.setAccessible(true);
            obj = declaredField.get(dVar);
        } catch (NoSuchFieldException e) {
            czi.ˎ.ˊ("HiAppBulderUtil", "can not get filed:mLargeIcon");
        } catch (IllegalAccessException e2) {
            czi.ˎ.ˊ("HiAppBulderUtil", "can not get filed:mLargeIcon");
        } catch (IllegalArgumentException e3) {
            czi.ˎ.ˊ("HiAppBulderUtil", "can not get filed:mLargeIcon");
        }
        if (!(obj instanceof Bitmap)) {
            return dao.ˏ().ˎ().ˋ(ContentManager.getInstant().getContext());
        }
        float ˏ = dao.ˏ().ˎ().ˏ();
        return eqx.ˏ((Bitmap) obj, (double) ˏ, (double) ˏ);
    }

    public static CharSequence ॱ(d dVar) {
        try {
            Field declaredField = d.class.getDeclaredField("mContentTitle");
            declaredField.setAccessible(true);
            Object obj = declaredField.get(dVar);
            if (obj instanceof CharSequence) {
                return (CharSequence) obj;
            }
        } catch (NoSuchFieldException e) {
            czi.ˎ.ˊ("HiAppBulderUtil", "can not get filed:mContentTitle");
        } catch (IllegalAccessException e2) {
            czi.ˎ.ˊ("HiAppBulderUtil", "can not get filed:mContentTitle");
        } catch (IllegalArgumentException e3) {
            czi.ˎ.ˊ("HiAppBulderUtil", "can not get filed:mContentTitle");
        }
        return "";
    }
}
